package com.ego.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("ItemService")
@RequestMapping("/spec")
public interface SpecFeignClient {

    @GetMapping("/{cid}")
    public ResponseEntity<String> getSpecByCid(@PathVariable Long cid);

}
